home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
misc
/
amag
/
sh9301e.lha
/
Maxon-CPP-Demo
/
Include
/
time.h
< prev
Wrap
C/C++ Source or Header
|
1993-02-17
|
541b
|
27 lines
#ifndef _INCLUDE_TIME_H
#define _INCLUDE_TIME_H
typedef unsigned time_t;
typedef unsigned clock_t;
struct tm
{ int tm_sec, tm_min, tm_hour, tm_mday, tm_mon, tm_year,
tm_wday, tm_yday, tm_idst;
};
time_t time(time_t*);
struct tm *gmtime(const time_t*);
struct tm *localtime(const time_t*);
time_t mktime(struct tm*);
#define CLOCKS_PER_SEC 50
clock_t clock(void);
double difftime(time_t, time_t);
int strftime(char *, unsigned, const char*, const struct tm*);
char *asctime(const struct tm*);
char *ctime(const time_t *);
#endif